-
-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: rename roles toggles to flag #7123
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@@ -110,6 +110,9 @@ test('Favor permission name over id migration correctly assigns permissions by n | |||
{ role_id: 101, permission: 'TEST_PERMISSION_4' }, | |||
]); | |||
|
|||
// Run the toggle to flag update migration | |||
await dbm.up('20240523113322-roles-toggle-to-flag-rename.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is manually applying migrations and it was previously running old names. Now I apply the new naming migration to clean it up.
@@ -32,7 +32,7 @@ describe('feature', () => { | |||
it('gives an error if a toggle exists with the same name', () => { | |||
cy.createFeature_UI(featureToggleName, false, projectName); | |||
cy.get("[data-testid='INPUT_ERROR_TEXT']").contains( | |||
'A toggle with that name already exists', | |||
'A flag with that name already exists', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing an failing test.
Running migration to update roles descriptions.